/* Meeting Record Page - Dark Theme for 5" 16:9 Landscape 1920x1080 */
.meeting-record {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  min-height: 100vh;
  color: #e5e7eb;
  padding: 1rem 1.25rem;
  overflow: hidden;
}

/* Header */
.meeting-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.875rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.meeting-info h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.meeting-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #9ca3af;
}

.meta-item svg {
  width: 14px;
  height: 14px;
}

.meeting-actions {
  display: flex;
  gap: 0.625rem;
}

.icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.625rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

/* Main Content */
.meeting-content {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.25rem;
  height: calc(100vh - 140px);
}

/* Media Panel */
.media-panel {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-container {
  flex: 1;
  background: #0f172a;
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.video-placeholder {
  text-align: center;
  color: #6b7280;
}

.video-placeholder svg {
  width: 48px;
  height: 48px;
}

.video-placeholder p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

/* Audio Visualizer */
.audio-visualizer {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.visualizer-bars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  height: 80px;
}

.bar {
  width: 6px;
  background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
  border-radius: 3px;
  animation: pulse 1s ease-in-out infinite;
  min-height: 15px;
}

@keyframes pulse {
  0%, 100% { height: 15px; opacity: 0.5; }
  50% { height: 70px; opacity: 1; }
}

.mic-icon {
  color: #667eea;
  width: 40px;
  height: 40px;
}

.audio-visualizer p {
  font-size: 0.9rem;
  color: #9ca3af;
}

/* Recording Status */
.recording-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.rec-dot {
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.rec-dot.paused {
  background: #f59e0b;
  animation: none;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.status-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ef4444;
}

.status-text.paused {
  color: #f59e0b;
}

.status-text.ready {
  color: #10b981;
}

.duration {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

/* Control Panel */
.control-panel {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.control-group {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.control-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.control-btn svg {
  width: 20px;
  height: 20px;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.control-btn.disabled {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

/* 划重点按钮 */
.control-btn.highlight-btn {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
  position: relative;
}

.control-btn.highlight-btn:hover {
  background: rgba(251, 191, 36, 0.25);
  border-color: #fbbf24;
}

.control-btn.highlight-btn.active {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-color: #fbbf24;
  color: white;
  animation: pulse-glow 2s ease-in-out infinite;
}

.control-btn.highlight-btn:disabled {
  background: rgba(107, 114, 128, 0.2);
  border-color: rgba(107, 114, 128, 0.3);
  color: #6b7280;
  cursor: not-allowed;
  opacity: 0.5;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.6);
  }
}

.main-controls {
  display: flex;
  justify-content: center;
  gap: 0.875rem;
}

.main-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.main-btn svg {
  width: 22px;
  height: 22px;
}

.start-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

.start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
}

.pause-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.pause-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.5);
}

.stop-btn {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.stop-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(239, 68, 68, 0.5);
}

/* Info Panel */
.info-panel {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.375rem;
  gap: 0.375rem;
}

.tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.625rem 0.5rem;
  background: transparent;
  border: none;
  border-radius: 0.625rem;
  color: #9ca3af;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.tab svg {
  width: 16px;
  height: 16px;
}

.tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #e5e7eb;
}

.tab.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

/* Transcript */
.transcript-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.transcript-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.transcript-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.transcript-stats {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.transcript-count {
  font-size: 0.75rem;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.625rem;
  border-radius: 1rem;
}

.highlight-count {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  padding: 0.25rem 0.625rem;
  border-radius: 1rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.highlight-count svg {
  width: 12px;
  height: 12px;
  fill: #fbbf24;
}

.transcript-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.875rem;
}

.transcript-item {
  padding: 0.75rem;
  margin-bottom: 0.625rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.625rem;
  border-left: 3px solid #667eea;
  transition: all 0.3s ease;
}

/* 重点标记的转写记录 */
.transcript-item.highlighted {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.05) 100%);
  border-left: 3px solid #fbbf24;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
  position: relative;
}

.transcript-item.highlighted::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  animation: highlight-pulse 2s ease-in-out infinite;
}

@keyframes highlight-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.transcript-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.375rem;
  gap: 0.5rem;
}

.highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.6875rem;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.2);
  padding: 0.125rem 0.5rem;
  border-radius: 1rem;
  font-weight: 600;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.highlight-badge svg {
  width: 10px;
  height: 10px;
  fill: #fbbf24;
}

.speaker {
  font-weight: 600;
  color: #667eea;
  font-size: 0.8125rem;
}

.timestamp {
  font-size: 0.75rem;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}

.transcript-text {
  color: #e5e7eb;
  line-height: 1.5;
  margin: 0;
  font-size: 0.8125rem;
}

.transcript-typing {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1rem;
  background: rgba(102, 126, 234, 0.1);
  border-top: 1px solid rgba(102, 126, 234, 0.2);
  color: #667eea;
  font-size: 0.8125rem;
}

.typing-indicator {
  display: flex;
  gap: 0.25rem;
}

.typing-indicator span {
  width: 5px;
  height: 5px;
  background: #667eea;
  border-radius: 50%;
  animation: typing 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Meeting Details */
.meeting-details {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}

.detail-section {
  margin-bottom: 1.5rem;
}

.detail-section:last-child {
  margin-bottom: 0;
}

.detail-section h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.75rem 0;
}

.participants-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.participant-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.625rem;
  font-size: 0.8125rem;
}

.participant-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: white;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 2rem;
  font-size: 0.75rem;
}

.tag-item svg {
  width: 14px;
  height: 14px;
}

.settings-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.setting-row {
  display: flex;
  justify-content: space-between;
  padding: 0.625rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.625rem;
  font-size: 0.8125rem;
}

.setting-value {
  color: #667eea;
  font-weight: 500;
}

/* Scrollbar Styling */
.transcript-list::-webkit-scrollbar,
.meeting-details::-webkit-scrollbar {
  width: 8px;
}

.transcript-list::-webkit-scrollbar-track,
.meeting-details::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.transcript-list::-webkit-scrollbar-thumb,
.meeting-details::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.transcript-list::-webkit-scrollbar-thumb:hover,
.meeting-details::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 重点标记通知 */
.highlight-notification {
  position: fixed;
  top: 100px;
  right: -400px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.875rem;
  box-shadow: 0 10px 40px rgba(251, 191, 36, 0.4);
  z-index: 10000;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.highlight-notification.show {
  right: 30px;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.notification-content svg {
  width: 20px;
  height: 20px;
  fill: white;
  flex-shrink: 0;
}

